.App {
  height:100%;
  display: grid;
  grid-template-rows: 2rem auto;
  grid-template-columns: auto;
  grid-template-areas: "header" "content";
  box-sizing: border-box;
  user-select: none;

  > header {
    grid-area: "header";
    background-color:#0055CC;
    display: flex;
    padding: 0 0 0 1rem;
    justify-content: space-between;
    align-items: center;
    -webkit-app-region: drag;
    

    > .title {
      color: #fff;
    }

    > .control-box {
      -webkit-app-region: no-drag;

      height: 2rem;
      width: 3rem;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: ease-in-out 0.2s all;

      > .icon {
        width: 32px;
        height: 32px;
      }

      &:hover {
        background-color: #c00;
        fill: #fff;

        > .icon {
          fill: #fff;
        }

        &:active {
          background-color: #900;
        }
      }
    }
  }

  > main {
    grid-area: "content";

    padding: 1rem;
    color:#333;

    overflow-y: auto;
    color: #666;

    &::-webkit-scrollbar {
      width: 8px;
      height: 8px;
      top: -2.5rem;
    }

    &::-webkit-scrollbar-track-piece {
      background-color: #eee;
      border-radius: 4px;
    }

    &::-webkit-scrollbar-thumb {
      height: 50px;
      background-color: #ccc;
      border-radius: 4px;
      transition: background-color ease 200ms;
    }

    &::-webkit-scrollbar-thumb:active,
    &::-webkit-scrollbar-thumb:hover {
      height: 50px;
      background-color: #bbb;
    }
    &::-webkit-scrollbar {
      margin-top: 2.5em;
    }

    hr {
      border-top: 0;
      border-left: 0;
      border-right: 0;
      border-bottom: 1px solid #eee;
      margin: 1rem 0;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p {
      font-weight: lighter;
      margin: 0;
      padding: 0;
    }

    ul,
    li {
      font-weight: lighter;
    }

    h2 {
      margin: 0 0 0.5rem 0;
      font-weight: normal;
      font-size: 1.3rem;

      &:first-child {
        margin-top: 0;
      }
    }

    h3 {
      margin: 0.5rem 0 0.5rem 0;
      color: #333;
      font-size: 1.1rem;
    }

    p,
    ul {
      line-height: 1.5;
      font-size: 0.8rem;
    }

    p {
      margin-bottom: 0.3rem;
    }

    a {
      text-decoration: none;

      &:hover {
        text-decoration: underline;
      }
    }

    article {
      margin-bottom: 2rem;
    }
  }
}
